<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>uKernel: main.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">uKernel
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">main.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="port__types_8h_source.html">port_types.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="task_8h_source.html">task.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="lpc17xx_8h_source.html">lpc17xx.h</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for main.c:</div>
<div class="dyncontent">
<div class="center"><img src="main_8c__incl.png" border="0" usemap="#main_8c" alt=""/></div>
<map name="main_8c" id="main_8c">
</map>
</div>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr class="memitem:abba935c8b94c68009f38729990dc0ead"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#abba935c8b94c68009f38729990dc0ead">is_little_endian</a>()&#160;&#160;&#160;((*(char *) &amp;<a class="el" href="main_8c.html#ad5cebda4bfa014cb7a1f859d5afb5cc1">j</a>) == 1)</td></tr>
<tr class="memitem:a06695c9fc7ac8015aedee9e272a5f57a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a06695c9fc7ac8015aedee9e272a5f57a">TASK1_PRIO</a>&#160;&#160;&#160;2</td></tr>
<tr class="memitem:ace162b22b6c04923e7206a522d9b545b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ace162b22b6c04923e7206a522d9b545b">TASK2_PRIO</a>&#160;&#160;&#160;1</td></tr>
<tr class="memitem:ab999c040e754cd1d21f016f4b13ca2fc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ab999c040e754cd1d21f016f4b13ca2fc">TASK3_PRIO</a>&#160;&#160;&#160;3</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6f25bc4458ce70f49d6fb4a5864f1326"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a6f25bc4458ce70f49d6fb4a5864f1326">Task1</a> (void *args)</td></tr>
<tr class="memitem:ab1467fd2d04e647dd9bc89b8c95be69b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ab1467fd2d04e647dd9bc89b8c95be69b">Task2</a> (void *args)</td></tr>
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad5cebda4bfa014cb7a1f859d5afb5cc1"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#ad5cebda4bfa014cb7a1f859d5afb5cc1">j</a> = 1</td></tr>
<tr class="memitem:aad6e34eaa7f883fddc4d5aca2fb16db7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#aad6e34eaa7f883fddc4d5aca2fb16db7">Stack1</a> [<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td></tr>
<tr class="memitem:a2a4bd027129282f64bba5dbcd704499f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a2a4bd027129282f64bba5dbcd704499f">Stack2</a> [<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td></tr>
<tr class="memitem:a190e9363149fad9e8bdc1a3b27c88b74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html#a190e9363149fad9e8bdc1a3b27c88b74">Stack3</a> [<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="abba935c8b94c68009f38729990dc0ead"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="main_8c.html#abba935c8b94c68009f38729990dc0ead">is_little_endian</a></td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;((*(char *) &amp;<a class="el" href="main_8c.html#ad5cebda4bfa014cb7a1f859d5afb5cc1">j</a>) == 1)</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a06695c9fc7ac8015aedee9e272a5f57a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="main_8c.html#a06695c9fc7ac8015aedee9e272a5f57a">TASK1_PRIO</a>&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ace162b22b6c04923e7206a522d9b545b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="main_8c.html#ace162b22b6c04923e7206a522d9b545b">TASK2_PRIO</a>&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab999c040e754cd1d21f016f4b13ca2fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="main_8c.html#ab999c040e754cd1d21f016f4b13ca2fc">TASK3_PRIO</a>&#160;&#160;&#160;3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6f25bc4458ce70f49d6fb4a5864f1326"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8c.html#a6f25bc4458ce70f49d6fb4a5864f1326">Task1</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1467fd2d04e647dd9bc89b8c95be69b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8c.html#ab1467fd2d04e647dd9bc89b8c95be69b">Task2</a> </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ad5cebda4bfa014cb7a1f859d5afb5cc1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const int <a class="el" href="main_8c.html#ad5cebda4bfa014cb7a1f859d5afb5cc1">j</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aad6e34eaa7f883fddc4d5aca2fb16db7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a> <a class="el" href="main_8c.html#aad6e34eaa7f883fddc4d5aca2fb16db7">Stack1</a>[<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2a4bd027129282f64bba5dbcd704499f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a> <a class="el" href="main_8c.html#a2a4bd027129282f64bba5dbcd704499f">Stack2</a>[<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a190e9363149fad9e8bdc1a3b27c88b74"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8h.html#a701b7c820e8a0f5fcb04e4cd838b6f17">OSStackType</a> <a class="el" href="main_8c.html#a190e9363149fad9e8bdc1a3b27c88b74">Stack3</a>[<a class="el" href="kern__conf_8h.html#a6d906f229229cf95a9622cf523c8c227">STACK_MIN_SIZE</a>]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Sun Oct 13 2013 02:33:11 for uKernel by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
